<?php

namespace app\api\controller;

use app\api\logic\TestLogic;
use app\common\controller\PCBase;
use app\common\controller\DBase;
use app\BaseController;
use app\api\logic\ApiGiftCardLogic;
use think\facade\Db;
use Throwable;
use app\common\library\Upload;

class ApiGiftCard extends DBase
{


    public function initialize(): void
    {
        parent::initialize();
    }


    /**
     * index
     * @throws Throwable
     */
    public function GiftCardlist()
    {
        $params     = $this->request->get();
        $ApiGiftCardLogic = new ApiGiftCardLogic();
        return $ApiGiftCardLogic->GiftCardlist($params);
    }

    /**
     * index
     * @throws Throwable
     */
    public function GiftCardfind()
    {
        $params     = $this->request->get();
        $ApiGiftCardLogic = new ApiGiftCardLogic();
        return $ApiGiftCardLogic->GiftCardfind($params);
    }

    /**
     * index
     * @throws Throwable
     */
    public function GiftCardadd()
    {
        $params     = $this->request->get();
        $ApiGiftCardLogic = new ApiGiftCardLogic();
        return $ApiGiftCardLogic->GiftCardadd($params);
    }

    

}
